
const superagent = require('superagent');

module.exports = router => {

    /** 获取部门列表 */
    router.get('/api/departments/list', require('./fn/departmentsList'));


    /** 获取部门下的用户 */
    router.get('/api/departments/user', require('./fn/listsimple'));
}